package com.miplus.ccrm.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.admin.controller.vo.*;
import com.miplus.ccrm.admin.pojo.SysNames;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miplus.ccrm.common.CmdResVo;

import java.util.List;

/**
* @author pc
* @description 针对表【sys_names】的数据库操作Service
* @createDate 2024-03-02 17:02:10
*/
public interface SysNamesService extends IService<SysNames> {

    List<NamesResVo> getNamesValues(String tid,String pid);

    List<NamesNumberResVo> getNamesNumberValues(String tid,String pid);

    IPage<NamesInfoResVo> namesList(NamesInfoReqVo paras);

    List<NamesResVo> namesTypeSelect();

    List<NamesTypeResVo> namesType();

    CmdResVo updateNames(NamesEditReqVo paras);

    CmdResVo updateStatus(UpTiDStatusReqVo paras);

    CmdResVo insertNames(NamesEditReqVo paras);

    CmdResVo deleteNames(String tid,String id);

    List<NamesTreeResVo> namesTidTree(String tid);
}
